//教师登录用户名明码
export interface TeacherLoginForm {
    username: string
    password: string
}

//教师返回体单项
export interface TeacherItem {
    id:number
    username: string
    password: string
    name:string
    email:string
    phone:string
    academy:string
}

//学生课程单体项
export interface CourseItem {
    id:number
    courseName:string
    startWeek:string
    endWeek:string
    teacherId:number
    credit:number
    grade:number
    majorId:number
    remain:number
    status:number
    examTime:string
    startTime:string
    endTime:string
}

//学生返回单体项
export interface StudentItem {
    id: number
    username: string
    password: string
    name: string
    credit: number
    grade: number
    learnStatus: number

}
//从选课单体中获取成绩
export interface ChooseCourseItem {
    id:number
    studentId:number
    courseId:number
    score:number

}

export interface StusCourseItem {
    id:number
    courseName:string
    teacherId:number

}

export interface StusCourseList {
    chooseCourseId:number
    name:string
    grade:number
    score:number

}

//考试安排
export interface ArrangeExamItem {
    courseId: number
    examTime: string
    startTime: string
    endTime: string
}

//教师注册请求体
export interface reqTeaRegister {
    username:string
    password:string
    name:string
    email:string
    phone:string
    academy:string
}

//页数表单
export interface pageQuery {
    courseId?:number
    page: number
    pageSize: number
}
//页数返回项
export interface pageQueryItem {
    current: number
    size: number
    total: number
}



